package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.vo.OrderSettingVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    OrderSetting getOrderByDate(@Param("orderDate") Date orderDate);

    void incrReservation(@Param("date") Date date);


    Integer save(@Param("orderSetting")OrderSetting orderSetting);

    OrderSetting select(Integer id);

    List<OrderSetting> selectByMonth(@Param("begin") Date begin, @Param("end") Date end);

    void update(@Param("orderSetting") OrderSetting orderSetting);
}
